home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS1097.lzh
/
AMOSLIST
/
000227_amos-request@svcs1.digex.net_Sat Oct 25 11:21:40 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-11-02
|
3KB
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id LAA11106
for <mcox@access.digex.net>; Sat, 25 Oct 1997 11:21:38 -0400 (EDT)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id KAA21745
for amos-out; Sat, 25 Oct 1997 10:15:50 -0400 (EDT)
Received: from mail4.access.digex.net (mail4.access.digex.net [205.197.247.2])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id KAA21742
for <amos-list@svcs1.digex.net>; Sat, 25 Oct 1997 10:15:49 -0400 (EDT)
Received: from leary.huron.net (root@leary.huron.net [205.150.207.2])
by mail4.access.digex.net (8.8.5/8.8.5) with ESMTP id KAA13334
for <amos-list@access.digex.net>; Sat, 25 Oct 1997 10:15:48 -0400 (EDT)
Received: from golden.net (ppp23-ts1-kw.huron.net [205.150.207.72])
by leary.huron.net (8.8.5/8.8.5) with SMTP id KAA12378
for <amos-list@access.digex.net>; Sat, 25 Oct 1997 10:12:09 -0400
From: "Mr. Giark To You" <joehick@golden.net>
To: AMOS List <amos-list@access.digex.net>
Date: Sat, 25 Oct 1997 10:08:01 -0500
Message-ID: <yam7237.86.4934416@huron.net>
In-Reply-To: <34514FC3.MD-0.196.malcolm.murray@virgin.net>
X-Mailer: YAM 1.3.3 - Amiga Mailer by Marcel Beck
Subject: Re: Pattern Match
MIME-Version: 1.0
Content-Type: text/plain
Status: O
X-Status:
On 25-Oct-97, Alastair Murray wrote:
>Anyone have any AMOS code for doing a pattern match on a string?
>e.g. *.AMOS or #?.AMOS to see if a string contains .AMOS in it
>anywhere.
>Saves me writing it myself...
A=Instr(<string to check>,<string to search for>)
If it was there, A will contain the start position of the first occurance.
Otherwise, A will be 0.
Well met and godspeed,
Giark
joehick@golden.net
http://www.golden.net/~joehick/fbn/index.html
______ ______ _____ .------------------------------------------.
/ ____/ / __ / / ___ \ ! AMOS games, utilities, demos, etc. !
/ /__ / /_/ / / / / / ! !
/ ___/ / ___ | / / / / ! CyberSpace BBS (519)579-0072 !
/ / / /__/ / / / / / ! on A2000 060/50MHz (519)579-0173 !
/_/ /______/ /_/ /_/ ! !
Fly By Nite Videe-Oh! ! FBN Amiga 500 020 14MHz 1C/5F RAM 3.1OS !
IAPA Member `------------------------------------------'